package com.hospital.dictionary.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.dictionary.module.mapper.ClinicItemNameDictMapper;
import com.hospital.dictionary.module.entity.ClinicItemNameDict;
import com.hospital.dictionary.module.service.ClinicItemNameDictService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lvyao
 * @since 2022-02-14
 */
@Service
public class ClinicItemNameDictServiceImpl extends ServiceImpl<ClinicItemNameDictMapper, ClinicItemNameDict> implements ClinicItemNameDictService {

    @Resource
    private ClinicItemNameDictMapper clinicItemNameDictMapper;


    @Override
    public List<ClinicItemNameDict> listBycode(String itemCode, String itemClass) {
        return clinicItemNameDictMapper.listBycode(itemCode,itemClass,"在用");
    }
}
